home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / technobox.gsh < prev    next >
Text File  |  2000-09-09  |  3KB  |  98 lines

  1. // DEFINES TECHNOBOX
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef TECHNOBOX_GSH
  8. #define TECHNOBOX_GSH
  9.  
  10. #include "defaults.gsh"
  11.  
  12. ////////////////////////////////////////////////////////////////////////////////////
  13.  
  14.  
  15. // the intact box
  16.  
  17. hierarchy Hcy_Technobox
  18. {
  19.        file "objects\Technobox.rif"
  20.        name "Technobox"
  21. }
  22.  
  23.  
  24. character Chr_technobox : Chr_Default
  25. {
  26.     strength        30    // initial strength points
  27.     turning speed   0    // this is in revolutions per second
  28.     walking speed   1    // this is in animation cycles per second
  29.     weapon          plasmatrix
  30.     aim             0    // how many degrees off target he can be at most
  31.     sight angle    0    // in degrees
  32.     sight range     6    // in metres
  33.     hearing range    0    // in metres
  34.     aggression    0    // from 0 to 1
  35.     radius        1    // used by the movement model
  36. }
  37.  
  38. role Rol_Technobox : Rol_PlacedObject
  39. {
  40.     character     Chr_technobox
  41.     shape            Hcy_Technobox
  42.     identifier        "technobox"
  43.     destructibility    Des_Explode
  44.     armour            0
  45.     ai                blocker
  46. }
  47.  
  48. character Chr_technoboxhard : Chr_Default
  49. {
  50.     strength        100    // initial strength points
  51.     turning speed   0    // this is in revolutions per second
  52.     walking speed   0    // this is in animation cycles per second
  53.     weapon          plasmatrix
  54.     aim             0    // how many degrees off target he can be at most
  55.     sight angle    0    // in degrees
  56.     sight range     0    // in metres
  57.     hearing range    0    // in metres
  58.     aggression    0    // from 0 to 1
  59.     radius        1    // used by the movement model
  60. }
  61.  
  62. character Chr_Technoboxshield : Chr_Default
  63. {
  64.     strength        100    // initial strength points
  65.     turning speed   0    // this is in revolutions per second
  66.     walking speed   0    // this is in animation cycles per second
  67.     weapon          plasmatrix
  68.     aim             0    // how many degrees off target he can be at most
  69.     sight angle    0    // in degrees
  70.     sight range     0    // in metres
  71.     hearing range    0    // in metres
  72.     aggression    0    // from 0 to 1
  73.     radius        1    // used by the movement model
  74. }
  75.  
  76. role Rol_Technoboxshield : Rol_PlacedObject
  77. {
  78.     character     Chr_Technoboxshield
  79.     shape            Hcy_Technobox
  80.     identifier        "technoboxshield"
  81.     destructibility    Des_Explode
  82.     armour            100
  83.     ai                blocker
  84. }
  85.  
  86. role Rol_Technoboxhard : Rol_PlacedObject
  87. {
  88.     character     Chr_technoboxhard
  89.     shape            Hcy_Technobox
  90.     identifier        "technoboxhard"
  91.     destructibility    Des_Explode
  92.     armour            3
  93.     ai                blocker
  94. }
  95. ////////////////////////////////////////////////////////////////////////////////////
  96.  
  97. // end wrapper - for preventing multiple or recursive inclusions
  98. #endif // !INCLUDED_TECHNOBOX_GSH